package com.example.tse.rbhttpservice.service.shopping.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


/**
 * 每个子订单支付成功之后，调用该接口获取分享的信息，若信息不存在则不显示
 * @author wliu
 * edit tse
 */
public class ShoppingGetShareInfoResponse extends RudderResponse{
    
    private String shareLink = "";
		
    
    private String shareDesc = "";
		
    
    private String shareTitle = "";
		
    
    private String shareImg = "";
		
	
    /**
     * @return shareLink
     */	
    public String getShareLink() { 
	    return this.shareLink;
    };
	
	/**
     * @return shareLink
     */	
    public void setShareLink(String shareLink) { 
        this.shareLink = shareLink;
    };
    
    /**
     * @return shareDesc
     */	
    public String getShareDesc() { 
	    return this.shareDesc;
    };
	
	/**
     * @return shareDesc
     */	
    public void setShareDesc(String shareDesc) { 
        this.shareDesc = shareDesc;
    };
    
    /**
     * @return shareTitle
     */	
    public String getShareTitle() { 
	    return this.shareTitle;
    };
	
	/**
     * @return shareTitle
     */	
    public void setShareTitle(String shareTitle) { 
        this.shareTitle = shareTitle;
    };
    
    /**
     * @return shareImg
     */	
    public String getShareImg() { 
	    return this.shareImg;
    };
	
	/**
     * @return shareImg
     */	
    public void setShareImg(String shareImg) { 
        this.shareImg = shareImg;
    };
    
	
        
    public static void filter(ShoppingGetShareInfoResponse shopping) {
        if (shopping.getShareLink() == null) {
            shopping.setShareLink("");
        }
        if (shopping.getShareDesc() == null) {
            shopping.setShareDesc("");
        }
        if (shopping.getShareTitle() == null) {
            shopping.setShareTitle("");
        }
        if (shopping.getShareImg() == null) {
            shopping.setShareImg("");
        }
    }
}
